﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GetPic.ascx.cs" Inherits="CMS_Control_GetPic" %>

<script>
    function Get(name, path) {
        var hidpic = document.getElementById("<%=HidPic.ClientID %>");
        var imgpic = document.getElementById("imgpic");

        imgpic.src = path;
        hidpic.value = name;
    }
</script>

<input id="picchoose" type="button" value=" 浏览... " onclick="window.open ('GetPic.aspx', '选择', 'height=600px, width=700px, toolbar=no, menubar=no, scrollbars=no,status=no,top=300,left=300');return false;"
    style="width: 100px" />
<br />
<br />
<img id="imgpic" width="100" height="100" src="../images/default.jpg" />
<asp:HiddenField ID="HidPic" runat="server" />
